<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>深低温数据管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/ccsendeepdata/sersorDeepData/">深低温数据列表</a></li>
		<shiro:hasPermission name="ccsendeepdata:sersorDeepData:edit"><li><a href="${ctx}/ccsendeepdata/sersorDeepData/form">深低温数据添加</a></li></shiro:hasPermission>
	</ul>
	<form:form id="searchForm" modelAttribute="sersorDeepData" action="${ctx}/ccsendeepdata/sersorDeepData/" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<ul class="ul-form">
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="clearfix"></li>
		</ul>
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>UUID主键</th>
				<th>深低温传感器MAC地址</th>
				<th>无线网关记录该数据的时间</th>
				<th>数据包含义: 03 (用于区分不同传设备的数据)</th>
				<th>传感器传输到网关的时间</th>
				<th>传感器采集数据时间</th>
				<th>热电偶解析前温度数据(十六进制)</th>
				<th>热电偶解析后温度数据(10进制)</th>
				<th>芯片解析前温度(16进制)</th>
				<th>芯片解析后温度(十进制)</th>
				<th>当前设备(深低温传感器)电池电压解析前(16进制)数据</th>
				<th>当前设备(深低温传感器)电池电压解析后(10进制)数据</th>
				<th>无线网关信号强度解析前(16进制)数据</th>
				<th>无线网关信号强度解析后(10进制)数据</th>
				<th>当前设备(深低温传感器)信号强度解析前(16进制)数据</th>
				<th>当前设备(深低温传感器)信号强度解析后(10进制)数据</th>
				<th>无线网关电池电压解析前(16进制)数据</th>
				<th>无线网关电池电压解析后(10进制)数据</th>
				<th>正常温度范围上限</th>
				<th>正常温度范围下限</th>
				<th>当前温度是否在正常范围内： 1:正常，2:不正常</th>
				<th>创建者</th>
				<th>创建日期</th>
				<th>更新者</th>
				<th>更新日期</th>
				<th>备注</th>
				<th>逻辑删除位</th>
				<th>对应网关MAC(监测设备等)</th>
				<shiro:hasPermission name="ccsendeepdata:sersorDeepData:edit"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="sersorDeepData">
			<tr>
				<td><a href="${ctx}/ccsendeepdata/sersorDeepData/form?id=${sersorDeepData.id}">
					${sersorDeepData.id}
				</a></td>
				<td>
					${sersorDeepData.sensorMac}
				</td>
				<td>
					<fmt:formatDate value="${sersorDeepData.macTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${sersorDeepData.dataType}
				</td>
				<td>
					<fmt:formatDate value="${sersorDeepData.toggpTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${sersorDeepData.getTime}
				</td>
				<td>
					${sersorDeepData.tempHex}
				</td>
				<td>
					${sersorDeepData.tempBcd}
				</td>
				<td>
					${sersorDeepData.chiptempHex}
				</td>
				<td>
					${sersorDeepData.chiptempBcd}
				</td>
				<td>
					${sersorDeepData.voltageHex}
				</td>
				<td>
					${sersorDeepData.voltageBcd}
				</td>
				<td>
					${sersorDeepData.ggprssiHex}
				</td>
				<td>
					${sersorDeepData.ggprssiBcd}
				</td>
				<td>
					${sersorDeepData.rssiHex}
				</td>
				<td>
					${sersorDeepData.rssiBcd}
				</td>
				<td>
					${sersorDeepData.ggpvoltageHex}
				</td>
				<td>
					${sersorDeepData.ggpvoltageBcd}
				</td>
				<td>
					${sersorDeepData.upperTemp}
				</td>
				<td>
					${sersorDeepData.lowerTemp}
				</td>
				<td>
					${sersorDeepData.tempIsnormal}
				</td>
				<td>
					${sersorDeepData.createBy.id}
				</td>
				<td>
					<fmt:formatDate value="${sersorDeepData.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${sersorDeepData.updateBy.id}
				</td>
				<td>
					<fmt:formatDate value="${sersorDeepData.updateDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${sersorDeepData.remarks}
				</td>
				<td>
					${fns:getDictLabel(sersorDeepData.delFlag, 'del_flag', '')}
				</td>
				<td>
					${sersorDeepData.gwMac}
				</td>
				<shiro:hasPermission name="ccsendeepdata:sersorDeepData:edit"><td>
    				<a href="${ctx}/ccsendeepdata/sersorDeepData/form?id=${sersorDeepData.id}">修改</a>
					<a href="${ctx}/ccsendeepdata/sersorDeepData/delete?id=${sersorDeepData.id}" onclick="return confirmx('确认要删除该深低温数据吗？', this.href)">删除</a>
				</td></shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>